﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tycho.Persistence {
    public class PersistentSession {
        IdentityMap IdentityMap;
        public bool ReadThrough { get; private set; }

        /// <summary>
        /// ensure that all objects are refreshed from the database on each new transaction
        /// </summary>
        void SetReadThrough () {
        }

        /// <summary>
        /// after calling this, objects are not refreshed from the database on each new transaction
        /// </summary>
        void UnsetReadThrough () {
        }
    }
}
